[INFO] fetching crate nametable 0.1.2...
[INFO] fixing nametable-0.1.2 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate nametable 0.1.2 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate nametable 0.1.2
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate nametable 0.1.2
[INFO] tweaked toml for crates.io crate nametable 0.1.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate nametable 0.1.2 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: An explicit [[test]] section is specified in Cargo.toml which currently
[INFO] [stderr] disables Cargo from automatically inferring other test targets.
[INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following
[INFO] [stderr] files will be included as a test target:
[INFO] [stderr] 
[INFO] [stderr] * tests/dynamic_tests.rs
[INFO] [stderr] * tests/static_tests.rs
[INFO] [stderr] * tests/hash_tests.rs
[INFO] [stderr] 
[INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be
[INFO] [stderr] ready to be compiled as a test target today. You can future-proof yourself
[INFO] [stderr] and disable this warning by adding `autotests = false` to your [package]
[INFO] [stderr] section. You may also move the files to a location where Cargo would not
[INFO] [stderr] automatically infer them to be a target, such as in subfolders.
[INFO] [stderr] 
[INFO] [stderr] For more information on this warning you can consult
[INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `nametable` (manifest) generated 2 warnings
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 50b5af9ff44eaffe74f9cc87722f27a3cb58fc4df5ad108fae1cf2cf1502d682
[INFO] running `Command { std: "docker" "start" "50b5af9ff44eaffe74f9cc87722f27a3cb58fc4df5ad108fae1cf2cf1502d682", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "50b5af9ff44eaffe74f9cc87722f27a3cb58fc4df5ad108fae1cf2cf1502d682" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "50b5af9ff44eaffe74f9cc87722f27a3cb58fc4df5ad108fae1cf2cf1502d682", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "50b5af9ff44eaffe74f9cc87722f27a3cb58fc4df5ad108fae1cf2cf1502d682" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2015 edition to 2018
[INFO] [stderr] warning: Cargo.toml: An explicit [[test]] section is specified in Cargo.toml which currently
[INFO] [stderr] disables Cargo from automatically inferring other test targets.
[INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following
[INFO] [stderr] files will be included as a test target:
[INFO] [stderr] 
[INFO] [stderr] * tests/dynamic_tests.rs
[INFO] [stderr] * tests/static_tests.rs
[INFO] [stderr] * tests/hash_tests.rs
[INFO] [stderr] 
[INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be
[INFO] [stderr] ready to be compiled as a test target today. You can future-proof yourself
[INFO] [stderr] and disable this warning by adding `autotests = false` to your [package]
[INFO] [stderr] section. You may also move the files to a location where Cargo would not
[INFO] [stderr] automatically infer them to be a target, such as in subfolders.
[INFO] [stderr] 
[INFO] [stderr] For more information on this warning you can consult
[INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `nametable` (manifest) generated 2 warnings
[INFO] [stderr]     Checking nametable v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2015 edition to 2018
[INFO] [stderr]        Fixed src/lib.rs (1 fix)
[INFO] [stderr]    Migrating tests/tests.rs from 2015 edition to 2018
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.38s
[INFO] [stderr] crater-edition-check: nametable v0.1.2 (/opt/rustwide/workdir) updating edition from 2015 to 2018
[INFO] [stderr]     Checking nametable v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/nametable.rs:65:24
[INFO] [stdout]    |
[INFO] [stdout] 65 |     parent: Option<Box<NameTable>>,
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 65 |     parent: Option<Box<dyn NameTable>>,
[INFO] [stdout]    |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/nametable.rs:110:24
[INFO] [stdout]     |
[INFO] [stdout] 110 |     parent: Option<Box<NameTable>>,
[INFO] [stdout]     |                        ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 110 |     parent: Option<Box<dyn NameTable>>,
[INFO] [stdout]     |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/nametable.rs:164:24
[INFO] [stdout]     |
[INFO] [stdout] 164 |     parent: Option<Box<NameTable>>,
[INFO] [stdout]     |                        ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 164 |     parent: Option<Box<dyn NameTable>>,
[INFO] [stdout]     |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/nametable.rs:65:24
[INFO] [stdout]    |
[INFO] [stdout] 65 |     parent: Option<Box<NameTable>>,
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 65 |     parent: Option<Box<dyn NameTable>>,
[INFO] [stdout]    |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/nametable.rs:110:24
[INFO] [stdout]     |
[INFO] [stdout] 110 |     parent: Option<Box<NameTable>>,
[INFO] [stdout]     |                        ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 110 |     parent: Option<Box<dyn NameTable>>,
[INFO] [stdout]     |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/nametable.rs:164:24
[INFO] [stdout]     |
[INFO] [stdout] 164 |     parent: Option<Box<NameTable>>,
[INFO] [stdout]     |                        ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 164 |     parent: Option<Box<dyn NameTable>>,
[INFO] [stdout]     |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/nametable.rs:21:43
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn parent<'a>(&'a self) -> Option<&'a NameTable>;
[INFO] [stdout]    |                                           ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn parent<'a>(&'a self) -> Option<&'a dyn NameTable>;
[INFO] [stdout]    |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/nametable.rs:78:43
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn parent<'a>(&'a self) -> Option<&'a NameTable> {
[INFO] [stdout]    |                                           ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn parent<'a>(&'a self) -> Option<&'a dyn NameTable> {
[INFO] [stdout]    |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/nametable.rs:123:43
[INFO] [stdout]     |
[INFO] [stdout] 123 |     fn parent<'a>(&'a self) -> Option<&'a NameTable> {
[INFO] [stdout]     |                                           ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 123 |     fn parent<'a>(&'a self) -> Option<&'a dyn NameTable> {
[INFO] [stdout]     |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/nametable.rs:240:43
[INFO] [stdout]     |
[INFO] [stdout] 240 |     fn parent<'a>(&'a self) -> Option<&'a NameTable> {
[INFO] [stdout]     |                                           ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 240 |     fn parent<'a>(&'a self) -> Option<&'a dyn NameTable> {
[INFO] [stdout]     |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/nametable.rs:255:36
[INFO] [stdout]     |
[INFO] [stdout] 255 | impl<T: NameTableIdx> Index<T> for NameTable {
[INFO] [stdout]     |                                    ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 255 | impl<T: NameTableIdx> Index<T> for dyn NameTable {
[INFO] [stdout]     |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/nametable.rs:21:43
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn parent<'a>(&'a self) -> Option<&'a NameTable>;
[INFO] [stdout]    |                                           ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn parent<'a>(&'a self) -> Option<&'a dyn NameTable>;
[INFO] [stdout]    |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/nametable.rs:78:43
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn parent<'a>(&'a self) -> Option<&'a NameTable> {
[INFO] [stdout]    |                                           ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn parent<'a>(&'a self) -> Option<&'a dyn NameTable> {
[INFO] [stdout]    |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/nametable.rs:123:43
[INFO] [stdout]     |
[INFO] [stdout] 123 |     fn parent<'a>(&'a self) -> Option<&'a NameTable> {
[INFO] [stdout]     |                                           ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 123 |     fn parent<'a>(&'a self) -> Option<&'a dyn NameTable> {
[INFO] [stdout]     |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/nametable.rs:240:43
[INFO] [stdout]     |
[INFO] [stdout] 240 |     fn parent<'a>(&'a self) -> Option<&'a NameTable> {
[INFO] [stdout]     |                                           ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 240 |     fn parent<'a>(&'a self) -> Option<&'a dyn NameTable> {
[INFO] [stdout]     |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/nametable.rs:255:36
[INFO] [stdout]     |
[INFO] [stdout] 255 | impl<T: NameTableIdx> Index<T> for NameTable {
[INFO] [stdout]     |                                    ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 255 | impl<T: NameTableIdx> Index<T> for dyn NameTable {
[INFO] [stdout]     |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/hash_tests.rs:38:23
[INFO] [stdout]    |
[INFO] [stdout] 38 | use std::sync::{Once, ONCE_INIT};
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/hash_tests.rs:40:22
[INFO] [stdout]    |
[INFO] [stdout] 40 | static START: Once = ONCE_INIT;
[INFO] [stdout]    |                      ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 40 - static START: Once = ONCE_INIT;
[INFO] [stdout] 40 + static START: Once = Once::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/hash_tests.rs:38:23
[INFO] [stdout]    |
[INFO] [stdout] 38 | use std::sync::{Once, ONCE_INIT};
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/hash_tests.rs:40:22
[INFO] [stdout]    |
[INFO] [stdout] 40 | static START: Once = ONCE_INIT;
[INFO] [stdout]    |                      ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 40 - static START: Once = ONCE_INIT;
[INFO] [stdout] 40 + static START: Once = Once::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `SECOND` and `THIRD` are never constructed
[INFO] [stdout]  --> tests/static_tests.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | enum NameEnum1 {
[INFO] [stdout]   |      --------- variants in this enum
[INFO] [stdout] 5 |     FIRST = 0,
[INFO] [stdout] 6 |     SECOND = 1,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 7 |     THIRD = 2,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `NameEnum1` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `FIFTH` and `SIXTH` are never constructed
[INFO] [stdout]   --> tests/static_tests.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | enum NameEnum2 {
[INFO] [stdout]    |      --------- variants in this enum
[INFO] [stdout] 19 |     FOURTH = 3,
[INFO] [stdout] 20 |     FIFTH = 4,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 21 |     SIXTH = 5,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NameEnum2` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `SECOND` and `THIRD` are never constructed
[INFO] [stdout]  --> tests/hash_tests.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | enum NameEnum1 {
[INFO] [stdout]   |      --------- variants in this enum
[INFO] [stdout] 5 |     FIRST = 0,
[INFO] [stdout] 6 |     SECOND = 1,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 7 |     THIRD = 2,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `NameEnum1` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `FIFTH` and `SIXTH` are never constructed
[INFO] [stdout]   --> tests/hash_tests.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | enum NameEnum2 {
[INFO] [stdout]    |      --------- variants in this enum
[INFO] [stdout] 19 |     FOURTH = 3,
[INFO] [stdout] 20 |     FIFTH = 4,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 21 |     SIXTH = 5,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NameEnum2` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> tests/hash_tests.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |             HASH_DATA_HOLDER_2.sort_by(|&(a, _), &(b, _)| a.cmp(&b));
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> tests/hash_tests.rs:53:57
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let hash_data_2: &'static [(u64, usize)] = unsafe { &HASH_DATA_HOLDER_2 };
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let hash_data_2: &'static [(u64, usize)] = unsafe { &raw const HASH_DATA_HOLDER_2 };
[INFO] [stdout]    |                                                          +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> tests/hash_tests.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |             HASH_DATA_HOLDER_2.sort_by(|&(a, _), &(b, _)| a.cmp(&b));
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> tests/hash_tests.rs:53:57
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let hash_data_2: &'static [(u64, usize)] = unsafe { &HASH_DATA_HOLDER_2 };
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let hash_data_2: &'static [(u64, usize)] = unsafe { &raw const HASH_DATA_HOLDER_2 };
[INFO] [stdout]    |                                                          +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `SECOND` and `THIRD` are never constructed
[INFO] [stdout]  --> tests/dynamic_tests.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | enum NameEnum1 {
[INFO] [stdout]   |      --------- variants in this enum
[INFO] [stdout] 5 |     FIRST = 0,
[INFO] [stdout] 6 |     SECOND = 1,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 7 |     THIRD = 2,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `NameEnum1` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `FIFTH` and `SIXTH` are never constructed
[INFO] [stdout]   --> tests/dynamic_tests.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | enum NameEnum2 {
[INFO] [stdout]    |      --------- variants in this enum
[INFO] [stdout] 19 |     FOURTH = 3,
[INFO] [stdout] 20 |     FIFTH = 4,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 21 |     SIXTH = 5,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NameEnum2` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.65s
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2015 edition to 2018
[INFO] [stderr]     Checking nametable v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2018 edition to 2021
[INFO] [stderr]        Fixed src/nametable.rs (8 fixes)
[INFO] [stderr]    Migrating tests/static_tests.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating tests/tests.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating tests/hash_tests.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating tests/dynamic_tests.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.55s
[INFO] [stderr] crater-edition-check: nametable v0.1.2 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]     Checking nametable v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variants `SECOND` and `THIRD` are never constructed
[INFO] [stdout]  --> tests/dynamic_tests.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | enum NameEnum1 {
[INFO] [stdout]   |      --------- variants in this enum
[INFO] [stdout] 5 |     FIRST = 0,
[INFO] [stdout] 6 |     SECOND = 1,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 7 |     THIRD = 2,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `NameEnum1` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `FIFTH` and `SIXTH` are never constructed
[INFO] [stdout]   --> tests/dynamic_tests.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | enum NameEnum2 {
[INFO] [stdout]    |      --------- variants in this enum
[INFO] [stdout] 19 |     FOURTH = 3,
[INFO] [stdout] 20 |     FIFTH = 4,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 21 |     SIXTH = 5,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NameEnum2` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/hash_tests.rs:38:23
[INFO] [stdout]    |
[INFO] [stdout] 38 | use std::sync::{Once, ONCE_INIT};
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/hash_tests.rs:40:22
[INFO] [stdout]    |
[INFO] [stdout] 40 | static START: Once = ONCE_INIT;
[INFO] [stdout]    |                      ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 40 - static START: Once = ONCE_INIT;
[INFO] [stdout] 40 + static START: Once = Once::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/hash_tests.rs:38:23
[INFO] [stdout]    |
[INFO] [stdout] 38 | use std::sync::{Once, ONCE_INIT};
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/hash_tests.rs:40:22
[INFO] [stdout]    |
[INFO] [stdout] 40 | static START: Once = ONCE_INIT;
[INFO] [stdout]    |                      ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 40 - static START: Once = ONCE_INIT;
[INFO] [stdout] 40 + static START: Once = Once::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `SECOND` and `THIRD` are never constructed
[INFO] [stdout]  --> tests/hash_tests.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | enum NameEnum1 {
[INFO] [stdout]   |      --------- variants in this enum
[INFO] [stdout] 5 |     FIRST = 0,
[INFO] [stdout] 6 |     SECOND = 1,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 7 |     THIRD = 2,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `NameEnum1` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `FIFTH` and `SIXTH` are never constructed
[INFO] [stdout]   --> tests/hash_tests.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | enum NameEnum2 {
[INFO] [stdout]    |      --------- variants in this enum
[INFO] [stdout] 19 |     FOURTH = 3,
[INFO] [stdout] 20 |     FIFTH = 4,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 21 |     SIXTH = 5,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NameEnum2` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> tests/hash_tests.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |             HASH_DATA_HOLDER_2.sort_by(|&(a, _), &(b, _)| a.cmp(&b));
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> tests/hash_tests.rs:53:57
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let hash_data_2: &'static [(u64, usize)] = unsafe { &HASH_DATA_HOLDER_2 };
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let hash_data_2: &'static [(u64, usize)] = unsafe { &raw const HASH_DATA_HOLDER_2 };
[INFO] [stdout]    |                                                          +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `SECOND` and `THIRD` are never constructed
[INFO] [stdout]  --> tests/static_tests.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | enum NameEnum1 {
[INFO] [stdout]   |      --------- variants in this enum
[INFO] [stdout] 5 |     FIRST = 0,
[INFO] [stdout] 6 |     SECOND = 1,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 7 |     THIRD = 2,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `NameEnum1` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `FIFTH` and `SIXTH` are never constructed
[INFO] [stdout]   --> tests/static_tests.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | enum NameEnum2 {
[INFO] [stdout]    |      --------- variants in this enum
[INFO] [stdout] 19 |     FOURTH = 3,
[INFO] [stdout] 20 |     FIFTH = 4,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 21 |     SIXTH = 5,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NameEnum2` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> tests/hash_tests.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |             HASH_DATA_HOLDER_2.sort_by(|&(a, _), &(b, _)| a.cmp(&b));
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> tests/hash_tests.rs:53:57
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let hash_data_2: &'static [(u64, usize)] = unsafe { &HASH_DATA_HOLDER_2 };
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let hash_data_2: &'static [(u64, usize)] = unsafe { &raw const HASH_DATA_HOLDER_2 };
[INFO] [stdout]    |                                                          +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.87s
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2015 edition to 2018
[INFO] [stderr]     Checking nametable v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/static_tests.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/hash_tests.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> tests/hash_tests.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |             HASH_DATA_HOLDER_2.sort_by(|&(a, _), &(b, _)| a.cmp(&b));
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating tests/tests.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> tests/hash_tests.rs:53:57
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let hash_data_2: &'static [(u64, usize)] = unsafe { &HASH_DATA_HOLDER_2 };
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let hash_data_2: &'static [(u64, usize)] = unsafe { &raw const HASH_DATA_HOLDER_2 };
[INFO] [stdout]    |                                                          +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating tests/dynamic_tests.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> tests/hash_tests.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |             HASH_DATA_HOLDER_2.sort_by(|&(a, _), &(b, _)| a.cmp(&b));
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> tests/hash_tests.rs:53:57
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let hash_data_2: &'static [(u64, usize)] = unsafe { &HASH_DATA_HOLDER_2 };
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let hash_data_2: &'static [(u64, usize)] = unsafe { &raw const HASH_DATA_HOLDER_2 };
[INFO] [stdout]    |                                                          +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.58s
[INFO] [stderr] crater-edition-check: nametable v0.1.2 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking nametable v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/hash_tests.rs:38:23
[INFO] [stdout]    |
[INFO] [stdout] 38 | use std::sync::{Once, ONCE_INIT};
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/hash_tests.rs:40:22
[INFO] [stdout]    |
[INFO] [stdout] 40 | static START: Once = ONCE_INIT;
[INFO] [stdout]    |                      ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 40 - static START: Once = ONCE_INIT;
[INFO] [stdout] 40 + static START: Once = Once::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `SECOND` and `THIRD` are never constructed
[INFO] [stdout]  --> tests/hash_tests.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | enum NameEnum1 {
[INFO] [stdout]   |      --------- variants in this enum
[INFO] [stdout] 5 |     FIRST = 0,
[INFO] [stdout] 6 |     SECOND = 1,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 7 |     THIRD = 2,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `NameEnum1` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `FIFTH` and `SIXTH` are never constructed
[INFO] [stdout]   --> tests/hash_tests.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | enum NameEnum2 {
[INFO] [stdout]    |      --------- variants in this enum
[INFO] [stdout] 19 |     FOURTH = 3,
[INFO] [stdout] 20 |     FIFTH = 4,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 21 |     SIXTH = 5,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NameEnum2` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> tests/hash_tests.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |             HASH_DATA_HOLDER_2.sort_by(|&(a, _), &(b, _)| a.cmp(&b));
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> tests/hash_tests.rs:53:57
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let hash_data_2: &'static [(u64, usize)] = unsafe { &HASH_DATA_HOLDER_2 };
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let hash_data_2: &'static [(u64, usize)] = unsafe { &raw const HASH_DATA_HOLDER_2 };
[INFO] [stdout]    |                                                          +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/hash_tests.rs:38:23
[INFO] [stdout]    |
[INFO] [stdout] 38 | use std::sync::{Once, ONCE_INIT};
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/hash_tests.rs:40:22
[INFO] [stdout]    |
[INFO] [stdout] 40 | static START: Once = ONCE_INIT;
[INFO] [stdout]    |                      ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 40 - static START: Once = ONCE_INIT;
[INFO] [stdout] 40 + static START: Once = Once::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nametable` (test "hash_tests") due to 2 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variants `SECOND` and `THIRD` are never constructed
[INFO] [stdout]  --> tests/dynamic_tests.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | enum NameEnum1 {
[INFO] [stdout]   |      --------- variants in this enum
[INFO] [stdout] 5 |     FIRST = 0,
[INFO] [stdout] 6 |     SECOND = 1,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 7 |     THIRD = 2,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `NameEnum1` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `FIFTH` and `SIXTH` are never constructed
[INFO] [stdout]   --> tests/dynamic_tests.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | enum NameEnum2 {
[INFO] [stdout]    |      --------- variants in this enum
[INFO] [stdout] 19 |     FOURTH = 3,
[INFO] [stdout] 20 |     FIFTH = 4,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 21 |     SIXTH = 5,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NameEnum2` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `SECOND` and `THIRD` are never constructed
[INFO] [stdout]  --> tests/static_tests.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | enum NameEnum1 {
[INFO] [stdout]   |      --------- variants in this enum
[INFO] [stdout] 5 |     FIRST = 0,
[INFO] [stdout] 6 |     SECOND = 1,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 7 |     THIRD = 2,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `NameEnum1` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `FIFTH` and `SIXTH` are never constructed
[INFO] [stdout]   --> tests/static_tests.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | enum NameEnum2 {
[INFO] [stdout]    |      --------- variants in this enum
[INFO] [stdout] 19 |     FOURTH = 3,
[INFO] [stdout] 20 |     FIFTH = 4,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 21 |     SIXTH = 5,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NameEnum2` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> tests/hash_tests.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |             HASH_DATA_HOLDER_2.sort_by(|&(a, _), &(b, _)| a.cmp(&b));
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> tests/hash_tests.rs:53:57
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let hash_data_2: &'static [(u64, usize)] = unsafe { &HASH_DATA_HOLDER_2 };
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let hash_data_2: &'static [(u64, usize)] = unsafe { &raw const HASH_DATA_HOLDER_2 };
[INFO] [stdout]    |                                                          +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nametable` (test "tests") due to 2 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "50b5af9ff44eaffe74f9cc87722f27a3cb58fc4df5ad108fae1cf2cf1502d682", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "50b5af9ff44eaffe74f9cc87722f27a3cb58fc4df5ad108fae1cf2cf1502d682", kill_on_drop: false }`
[INFO] [stdout] 50b5af9ff44eaffe74f9cc87722f27a3cb58fc4df5ad108fae1cf2cf1502d682
